package com.wangfei.test.filehandler.impl;

import com.wangfei.test.filehandler.StrEnum;

import static com.wangfei.test.filehandler.Type.IPADDRESS;

public class IpAddressStringReplace extends AbstractIStringReplace {
//    private static Pattern numericPattern = Pattern.compile(NUMERIC.getValue());

    private IpAddressStringReplace(String patternStr, String value){
        super(patternStr, value);
    }

    public static IpAddressStringReplace init() {
        IpAddressStringReplace strategy = new IpAddressStringReplace(IPADDRESS.getValue(), StrEnum.NUMERICVAL.getValue());
        return strategy;
    }


}
